package com.ftg.learn.chapter02;

/**
 * @author kangjx
 * @createTime 2022/6/29
 */
public class Testdemo {

    public static void main(String[] args) {
        Student s = new Student();
        s.setAge(1);
        Student s1 = new Student();
        s1.setAge(2);

        Student[] stus = new Student[2];
        stus[0] = s;
        stus[1] = s1;
    }

}
